package group32.shared;

import java.io.Serializable;

public class SearchResult implements Comparable<SearchResult>, Serializable{
private static final long serialVersionUID = 1L;
public int photoid;
 public String url;
 public float score;
 public int photoOwner;
 boolean isFriend;
 public String circleName;
 public SearchResult(){
	 photoid=-1;
	 score=-1;
	 url="";
	 isFriend=false;
	 circleName=""; 
	 photoOwner=-1;
 }

public int compareTo(SearchResult o) {
	return Float.compare(o.score,this.score);
}
}
